package com.aw.baselib.widgets.font

import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Canvas
import android.util.AttributeSet
import com.aw.baselib.base.AwBaseApplication

/**
 * @author : hzw
 * https://blog.csdn.net/yuanxw44/article/details/80019501
 */
@SuppressLint("AppCompatCustomView")
class AwEtRegularNoFocus(context: Context?, attrs: AttributeSet?) : AwEtRegularBase(
    context!!, attrs
) {
    override fun setViewBg() {}

    init {
        typeface = AwBaseApplication.instance?.typefaceRegular
    }

    override fun onDraw(canvas: Canvas) {
        super.onDraw(canvas)
    }
}